package com.google.gwt.livinglife.client.data;

import java.io.Serializable;

public class UserIdData implements Serializable {
	String id;
	String nickname;
		
	public UserIdData(String nickname, String id) {
		this.nickname = nickname;
		this.id = id;
	}
	
	public UserIdData() {
	}

	public UserIdData(LivingLifeUserData userData) {
		nickname = userData.getNickname();
		id = userData.getId();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
}
